package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface MemberDao {
    Long countByTelephone(@Param("telephone")String telephone);

    Member findByTelephone(String telephone);

    void addMemberDao(Member build);

    Integer findMemberCountBeforeDate(String m);

    Integer findMemberCountByDate(String today);

    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(String thisWeekMonday);
}
